package com.teach.demo01;

public class MachineTest {

	public static void main(String[] args) {
		Machine machine = new Machine();
		machine.add(new Coffee("猫屎", 20d));
		machine.add(new Coffee("猫屎", 20d));
		machine.add(new Coffee("蓝山", 15d));
		machine.add(new Coffee("蓝山", 15d));
		machine.add(new Coffee("蓝山", 15d));
		System.out.println(machine);
		System.out.println(machine.list());
	}
}
